package com.dsg.dao.oil;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dsg.entity.oil.DsgOilAccount;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DsgOilAccountMapper extends BaseMapper<DsgOilAccount> {

    /**
     * 查询列表（分頁）
     *
     * @param page
     * @param dsgOilAccount
     * @return
     */
    List<DsgOilAccount> selectByList(Page<DsgOilAccount> page, @Param(value = "DsgOilAccount") DsgOilAccount dsgOilAccount);

    /**
     * 查詢列表
     * @param dsgOilAccount
     * @return
     */
    List<DsgOilAccount> selectByList(@Param(value = "DsgOilAccount") DsgOilAccount dsgOilAccount);

}
